package com.example.news0515.Bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

public class MyJson implements MultiItemEntity, Serializable {
    private String reason;
    private com.example.news0515.Bean.Result result;
    private int error_code;
    private int itemType;

    public MyJson(int itemType) {
        this.itemType = itemType;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
